
<%
	/**
	 具体商品模板
	 **/
%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<DIV class="blankdiv ">
	<DIV class=Navigation>
		您当前的位置：
		<SPAN><A title="" href="http://www.rayi.cn/" alt="">首页</A> </SPAN>
		<SPAN>--></SPAN>
		</TD>
		<SPAN><A title=""
			href="${ctx }/catalog/catalogMessage.do?method=productFilter&catalogCode=${product.catalogId }&view=2&bdsfkdfhfdl=test"
			alt="">${viewCatalogName}</A> </SPAN>
		<SPAN>--></SPAN>
		</TD>
		<SPAN><A title=""
			href="${ctx }/product/productMessage.do?method=shopDeatails&id=${product.id }"
			alt="">${product.pname }</A> </SPAN>
		<SPAN></SPAN>
		</TD>
	</DIV>
</DIV>

<DIV class=GoodsInfoWrap>
	<DIV id=goods-viewer>
		<TABLE width="100%">
			<TBODY>
				<TR>
					<TD vAlign=top align=middle>
						<DIV class=goodspic>
							<DIV class=goods-detail-pic>
								<A
									style="WIDTH: 300px; DISPLAY: table-cell; FONT-FAMILY: Arial; HEIGHT: 300px; COLOR: #fff; FONT-SIZE: 262.5px; VERTICAL-ALIGN: middle"
									href="#"><IMG style="WIDTH: 300px; HEIGHT: 300px"
										alt="${product.pname }" src="${ctx }${product.image1 }">
								</A>
							</DIV>
							<TABLE class=picscroll>
								<TBODY>
									<TR>
										<TD class="scrollarrow toleft" title=向左 width="5%">
											&nbsp;
										</TD>
										<TD width="90%">
											<DIV class="goods-detail-pic-thumbnail pics">
												<CENTER>
													<TABLE>
														<TBODY>
															<TR>
																<TD class=current img_id="23198">
																	<DIV class=uparrow></DIV>
																	<p>
																		<a rel="lightbox-demo"
																			href="${ctx }${product.image1 }" title="双击图片最大化显示">
																			<img alt="demo1"
																				src="${ctx }/product_image/${product.id}/${product.id }_1_l_1_130X130.jpg"
																				width=55 height=55 title="demo2"> </a>
																	</p>

																</TD>
																<TD img_id="23199">
																	<DIV class=uparrow></DIV>
																	<p>
																		<a rel="lightbox-demo"
																			href="${ctx }${product.image2 }" title="双击图片最大化显示">
																			<img alt="demo1"
																				src="${ctx }/product_image/${product.id}/${product.id }_2_2_1_130X130.jpg"
																				width=55 height=55 title="demo1"> </a>
																	</p>
																</TD>
																<logic:notEmpty name="product" property="image3">
																	<TD img_id="23194">
																		<DIV class=uparrow></DIV>
																		<p>
																			<a rel="lightbox-demo"
																				href="${ctx }${product.image3 }" title="双击图片最大化显示">
																				<img alt="demo1"
																					src="${ctx }/product_image/${product.id}/${product.id }_3_3_1_130X130.jpg"
																					width=55 height=55 title="demo3"> </a>
																		</p>
																	</TD>

																</logic:notEmpty>
															</TR>
														</TBODY>
													</TABLE>
												</CENTER>
											</DIV>
										</TD>
										<TD class="scrollarrow toright" title=向右 width="5%">
											&nbsp;
										</TD>
									</TR>
								</TBODY>
							</TABLE>
							<UL>
								<LI class=star-off title="${product.pname }">
									<A class=btn-fav href="?passport-login.html">收藏此商品</A>
								</LI>
								<!-- <li><a href="#" class="btn-send">发送给好友</a></li> -->
							</UL>

						</DIV>
					</TD>
					<TD vAlign=top width="60%">
						<FORM class=goods-action method=post
							action="${ctx}/shopping/viewShoppingCart.do" target=_dialog_minicart
							gnotify="?product-gnotify.html" id="goodsActionForm">
						<input type="hidden" name="m" value="addProduct">
						<input type="hidden" name="number" value="1">
						<input type="hidden" name="id" value="${product.id }">
							<H1 class=goodsname>
								${product.pname }
							</H1>
							<UL class="goodsprops clearfix">
								<LI>
									<SPAN>商品编号：</SPAN>${product.code }
								</LI>
								<LI>
									<SPAN>货 号：</SPAN><SPAN id=goodsBn>${product.code }</SPAN>
								</LI>
								<LI>
									<SPAN>品 牌：</SPAN><A href="http://www.rayi.cn/?brand-12.html"
										target=_blank>${product.brandName }</A>
								</LI>
								<LI>
									<SPAN>所得积分：</SPAN><SPAN id=goodsScore>${product.canPoint
										}</SPAN>
								</LI>

							</UL>
							<UL class="goods-price list">
								<LI>
									<SPAN>销售价：</SPAN>
									<SPAN class=price1>￥${product.price } </SPAN>
								</LI>
							</UL>
							<DIV class="hightline ">
								<DIV class=hightbox>
									<DIV class=buyinfo>
										<TABLE width=auto>
											<TBODY>
												<TR>
													<TD>
														<SPAN>购买数量：</SPAN>
													</TD>
													<TD>
														<DIV class=Numinput>
															<INPUT value=1 size=5 type=text name=goods[num]
																id="goodsNumInput">
															<SPAN class="numadjust increase" id="numIncreaseSpan"></SPAN>
															<SPAN class="numadjust decrease" id="numDecreaseSpan"></SPAN>
														</DIV>
													</TD>
													<TD>
														<SPAN style="DISPLAY: none">&nbsp;&nbsp;(库存<SPAN
															class=store>973</SPAN>)</SPAN>
													</TD>
												</TR>
											</TBODY>
										</TABLE>
									</DIV>
									<INPUT value='${product.id }' type=hidden name='goods[id]' id='goods[id]'>
									<INPUT type=hidden name=goods[pmt_id]>
									<DIV class="btnBar clearfix">
										<DIV class=floatLeft id="actionBtnDiv">
											<INPUT class="actbtn btn-fastbuy" onclick="btnFastBuy();" value=立即购买 type=button>
											<INPUT class="actbtn btn-buy" value=加入购物车 type=submit>
										</DIV>
										<div class=floatLeft>
											<div class="bg1" id="lodingTipDiv"
												style="padding-left: 120px; background-color: #FFFFFF; margin: 0 auto; text-align: center; display: none;">
												<div class="load">
													<img src="${ctx}/css/safeai/frameImg/022.gif" />
													&nbsp;正在添加商品，请稍侯...
													...&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
												</div>
											</div>
										</div>
									</DIV>
								</DIV>
							</DIV>


							<DIV id=goods-adjunct class=hightline>
								<DIV class=hightbox>


									<DIV class=choose>

										<logic:present name="product" property="frees">
											<logic:iterate id="free" name="product" property="frees">
												<DIV class=adjtitle>
													送${free.pname }
													<EM>可选 1 件</EM><SPAN adj="${free.pname }"></SPAN>
												</DIV>
												<TABLE cellSpacing=0 cellPadding=0 width="100%">
													<TBODY class=goods-adjunct-row max_num="1" min_num="1"
														adjname="${free.pname }" adjkey="0">
														<TR class=last product="${free.id }"
															price="${free.price }">
															<TD vAlign=top width="5%">
																<INPUT value=${free.price } type=checkbox
																	name=check_${free.id
																	}
																				product="${free.id }">
															</TD>
															<TD width="50%">
																<DIV class=adjpc>
																	<A title="${free.pname }"
																		href="${ctx }/product/productMessage.do?method=shopDeatails&id=${free.id }"
																		target=_blank>${free.pname }</A>
																</DIV>
																<DIV class=mktprice>
																	原价格：
																	<I>￥${free.price }</I>
																</DIV>
																<SPAN class=memberprice>赠送：<I>￥0.00</I> </SPAN>
															</TD>
															<TD>
																数量：
																<INPUT value=1 maxLength=10 size=2 type=text
																	name=count_check_${free.id } id="free_goods_numb_${free.id }" autocomplete="off">
															</TD>
															<TD>
																<A class=addtocart title=您可以单把独这个商品加入购物车
																	href="?cart-5374-3273-addGoodsToCart.html" type='${free.id }'
																	rel=nofollow target=_dialog_minicart product="${free.id }"
																	buy="5374"><img class="free-goods-addbtn"
																		alt=您可以单把独这个商品加入购物车
																		src="${ctx }/css/safeai/gif/btn-buy.gif" /> </A>
															</TD>
															<TD>
																<INPUT type=hidden value="${free.id }" name="free_goods_${free.id }" id="free_goods_${free.id }">
															</TD>
														</TR>
													</TBODY>
												</TABLE>
									</DIV>
									</logic:iterate>
									</logic:present>

								</DIV>
							</DIV>
						</FORM>
					</TD>
				</TR>
			</TBODY>
		</TABLE>
		<script type="text/javascript"
			src="${ctx }/js/safeai/productImageShow.js"></script>
		<link rel="stylesheet"
			href="${ctx }/css/safeai/productImageShow/picbox.css" type="text/css"
			media="screen" />


		<FORM style="DISPLAY: none" id=fastbuy-form method=post
			action=?cart-checkout.html extra="fastbuy"></FORM>
		<DIV style="CLEAR: both"></DIV>
		<DIV class="goods-detail-tab clearfix">
			<DIV class="goodsDetailTab active" id="goodsDetailDiv_title"
				onclick="goodsInfoShowChange(this);">
				<SPAN>商品详情</SPAN>
			</DIV>

			<DIV class="goodsDetailTab" id="referGoodsDiv_title">
				<SPAN>相关商品</SPAN>
			</DIV>
			<DIV class="goodsDetailTab" id="buyGoodsInfoDiv_title">
				<SPAN>购买咨询(<EM>45</EM>)</SPAN>
			</DIV>
			<DIV class="goodsDetailTab" id="goodsRecommendsDiv_title">
				<SPAN>商品评论 (<EM>0</EM>)</SPAN>
			</DIV>
		</DIV>
		<DIV class=clear></DIV>
		<DIV class="section pdtdetail" tab="商品详情" id="goodsDetailDiv">

			<DIV id=goods-intro class="body indent uarea-output">
				${product.description1 }
			</DIV>
		</DIV>

		<DIV class="section pdtdetail" tab="相关商品" id="referGoodsDiv">
			<H2>
				相关商品
			</H2>
			<DIV id=goods-rels class=body>
				<DIV class=GoodsSearchWrap>
					<logic:present name="product" property="recommends">
						<logic:iterate id="recommend" name="product" property="recommends"
							indexId="number">
							<DIV class=items-gallery style="width: 200px; float: left;"
								product="${recommend.id }">
								<DIV style="HEIGHT: 130px" class=goodpic>
									<A style="WIDTH: 130px; HEIGHT: 130px"
										href="${ctx }/product/productMessage.do?method=shopDeatails&id=${recommend.id }"><IMG
											src="${ctx }/product_image/${recommend.id}/${recommend.id }_1_l_1_130X130.jpg">
									</A>
								</DIV>
								<DIV class=goodinfo>
									<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
										<TBODY>
											<TR>
												<TD colSpan=2>
													<H6 style="TEXT-ALIGN: center">
														<A title="${recommend.pname}"
															href="${ctx }/product/productMessage.do?method=shopDeatails&id=${recommend.id }">${recommend.pname}</A>
													</H6>
												</TD>
											</TR>
											<TR>
												<TD colSpan=2>
													<UL>
														<LI>
															<SPAN class=price1>￥${recommend.price}</SPAN>
														</LI>
													</UL>
												</TD>
											</TR>
											<TR>
												<TD colSpan=2>
													<UL class=button>
														<LI>
															<A class=viewpic href="${ctx }${recommend.image1 }"
																target=_blank>查看图片</A>
														</LI>
														<LI class=addcart>
															<A class=listact title=加入购物车
																href="?cart-222215079-addGoodsToCart.html" type=g
																rel=nofollow buy="222215079">加入购物车</A>
														</LI>
														</LI>
														<LI class=star-off title="${recommend.pname}">
															<A class=listact title=加入收藏 href="?passport-login.html"
																rel=nofollow>加入收藏</A>
														</LI>
														<LI class="vdetail zoom">
															<A class=listact title="${recommend.pname}"
																href="${ctx }/product/productMessage.do?method=shopDeatails&id=${recommend.id }"
																target=_blank>查看详细</A>
														</LI>
														<LI class=btncmp>
															<A class=btncmp title=商品对比
																onclick="gcompare.add({gid:'${recommend.id}',gname:'${recommend.pname}',gtype:'${product.id}'});"
																href="javascript:void(0)">商品对比 </A>
														</LI>
													</UL>
												</TD>
											</TR>
										</TBODY>
									</TABLE>
								</DIV>
							</DIV>
						</logic:iterate>
					</logic:present>

				</DIV>
			</DIV>
		</DIV>
		<div class="clear"></div>
		<DIV class="section pdtdetail" tab="购买咨询(<em>45</em>)"
			id="buyGoodsInfoDiv">
			<DIV class="commentTabLeft floatLeft">
				<STRONG>购买咨询</STRONG><SPAN><A
					href="?comment-10154-ask-commentlist.html">（已有45条咨询）</A> </SPAN>
			</DIV>
			<DIV class="floatLeft commentTabRight"></DIV>
			<DIV style="CLEAR: both"></DIV>
			<DIV style="MARGIN-TOP: 0px; BACKGROUND: #f6f6f6" class=FormWrap>
				<DIV id=goods-comment class=" Comments">
					<DIV style="MARGIN-BOTTOM: 0px" class="division boxBlue clearfix">
						<DIV class=" floatLeft commentMain">
							<DIV class="floatLeft commentAsk">
								提问
							</DIV>
							<SPAN class="author fontcolorOrange">非会员顾客<!-- --> </SPAN> 说：
							<SPAN class="timpstamp font10px fontcolorGray">11-10-09
								21:03</SPAN>
							<DIV style="CLEAR: both"></DIV>
							<DIV class=commentText>
								目前只适用于EOS 7D/EOS 50D/EOS 40D/EOS 30D/EOS 20D/EOS 450D/EOS
								400D/EOS 350D/EOS 300D/EOS 1000D 没看到60D 这个头不适用于60D吗？
							</DIV>
						</DIV>
						<DIV class=floatRight>
							<A class="floatRight lnk " href="?comment-131713-ask-reply.html">回复此评论</A>
						</DIV>
					</DIV>
					<DIV class=commentReply>
						<DIV style="MARGIN: 0px" class="division item ">
							<DIV class="floatLeft commentReply-admin">
								回答
							</DIV>
							<SPAN class="author fontcolorOrange">管理员[锐意小囧]<!-- --> </SPAN>&nbsp;&nbsp;回复：
							<SPAN class="timpstamp font10px fontcolorGray">11-10-10
								10:29</SPAN>
							<DIV style="CLEAR: both"></DIV>
							<DIV class=commentText>
								您好，60D可以使用的，感谢您的咨询，祝您购物愉快！
							</DIV>
						</DIV>
					</DIV>
					<DIV style="MARGIN-BOTTOM: 0px" class="division boxBlue clearfix">
						<DIV class=" floatLeft commentMain">
							<DIV class="floatLeft commentAsk">
								提问
							</DIV>
							<SPAN class="author fontcolorOrange">非会员顾客<!-- --> </SPAN> 说：
							<SPAN class="timpstamp font10px fontcolorGray">11-10-08
								01:19</SPAN>
							<DIV style="CLEAR: both"></DIV>
							<DIV class=commentText>
								这个头600D能用么？
							</DIV>
						</DIV>
						<DIV class=floatRight>
							<A class="floatRight lnk " href="?comment-131321-ask-reply.html">回复此评论</A>
						</DIV>
					</DIV>
					<DIV class=commentReply>
						<DIV style="MARGIN: 0px" class="division item ">
							<DIV class="floatLeft commentReply-admin">
								回答
							</DIV>
							<SPAN class="author fontcolorOrange">管理员[锐意小囧]<!-- --> </SPAN>&nbsp;&nbsp;回复：
							<SPAN class="timpstamp font10px fontcolorGray">11-10-08
								09:23</SPAN>
							<DIV style="CLEAR: both"></DIV>
							<DIV class=commentText>
								您好，佳能600D可以使用佳能 EF-S 17-85 IS 镜头（拆机头）带遮光罩,感谢您的咨询,祝您购物愉快!
							</DIV>
						</DIV>
					</DIV>
					<DIV style="MARGIN-BOTTOM: 0px" class="division boxBlue clearfix">
						<DIV class=" floatLeft commentMain">
							<DIV class="floatLeft commentAsk">
								提问
							</DIV>
							<SPAN class="author fontcolorOrange">非会员顾客<!-- --> </SPAN> 说：
							<SPAN class="timpstamp font10px fontcolorGray">11-10-06
								18:41</SPAN>
							<DIV style="CLEAR: both"></DIV>
							<DIV class=commentText>
								这款镜头适合拍什么的?风光或人像?他和18-55有什么区别?
							</DIV>
						</DIV>
						<DIV class=floatRight>
							<A class="floatRight lnk " href="?comment-131168-ask-reply.html">回复此评论</A>
						</DIV>
					</DIV>
					<DIV class=commentReply>
						<DIV style="MARGIN: 0px" class="division item ">
							<DIV class="floatLeft commentReply-admin">
								回答
							</DIV>
							<SPAN class="author fontcolorOrange">管理员[锐意天天]<!-- --> </SPAN>&nbsp;&nbsp;回复：
							<SPAN class="timpstamp font10px fontcolorGray">11-10-07
								09:09</SPAN>
							<DIV style="CLEAR: both"></DIV>
							<DIV class=commentText>
								您好，适合拍人像风景的，焦段不同，感谢咨询，祝您愉快！
							</DIV>
						</DIV>
					</DIV>
					<DIV style="MARGIN-BOTTOM: 0px" class="division boxBlue clearfix">
						<DIV class=" floatLeft commentMain">
							<DIV class="floatLeft commentAsk">
								提问
							</DIV>
							<SPAN class="author fontcolorOrange">benny<!-- [普通会员] -->
							</SPAN> 说：
							<SPAN class="timpstamp font10px fontcolorGray">11-10-05
								14:10</SPAN>
							<DIV style="CLEAR: both"></DIV>
							<DIV class=commentText>
								麻烦再问一下，该镜头是保证全新未上过机的吗？网上说这款镜头返修率较高，有这回事吗？盼答复，以便我定夺。多谢。
							</DIV>
						</DIV>
						<DIV class=floatRight>
							<A class="floatRight lnk " href="?comment-131010-ask-reply.html">回复此评论</A>
						</DIV>
					</DIV>
					<DIV class=commentReply>
						<DIV style="MARGIN: 0px" class="division item ">
							<DIV class="floatLeft commentReply-admin">
								回答
							</DIV>
							<SPAN class="author fontcolorOrange">管理员[锐意天天]<!-- --> </SPAN>&nbsp;&nbsp;回复：
							<SPAN class="timpstamp font10px fontcolorGray">11-10-05
								14:13</SPAN>
							<DIV style="CLEAR: both"></DIV>
							<DIV class=commentText>
								您好，是全新的，没上过机器的，我们还没有收到顾客反馈您说的这种问题，拆机只是套机机身跟镜头分开销售的，祝您愉快！
							</DIV>
						</DIV>
					</DIV>
				</DIV>
				<DIV class=textright>
					<A href="?comment-10154-ask-commentlist.html">查看所有咨询&gt;&gt;</A>
				</DIV>
				<FORM class=addcomment onsubmit=checkFormReqs(event); method=post
					action=?comment-10154-ask-toComment.html>
					<H4>
						发表咨询
					</H4>
					<DIV class=title>
						标题：
						<INPUT class="x-input inputstyle blur"
							value="[咨询]佳能 EF-S 17-85 IS 镜头（拆机头）带遮光罩" size=50 type=text
							name=title autocomplete="off" vtype="text" required="true">
					</DIV>
					<DIV class=division>
						<TABLE class=forform border=0 cellSpacing=0 cellPadding=0
							width="100%">
							<TBODY>
								<TR>
									<TH>
										<EM>*</EM>咨询内容：
									</TH>
									<TD>
										<TEXTAREA style="WIDTH: 80%" class=inputstyle rows=5
											name=comment vtype="required"></TEXTAREA>
									</TD>
								</TR>
								<TR>
								<TR>
									<TH>
										联系方式：
									</TH>
									<TD>
										<INPUT class="x-input inputstyle" size=20 type=text
											name=contact autocomplete="off" vtype="text">
										<SPAN class=infotips>(可以是电话、email、qq等)</SPAN>
									</TD>
								</TR>
								<TR>
									<TD></TD>
									<TD>
										<INPUT value=提交咨询 type=submit>
									</TD>
								</TR>
							</TBODY>
						</TABLE>
					</DIV>
				</FORM>
			</DIV>
		</DIV>
		<DIV class="section pdtdetail" tab="商品评论 (<em>0</em>)"
			id="goodsRecommendsDiv">
			<DIV>
				<STRONG>商品评论</STRONG><SPAN><A
					href="?comment-10154-discuss-commentlist.html">（已有<EM>0</EM>条评论）</A>
				</SPAN>
			</DIV>
			<DIV style="MARGIN-TOP: 0px; BACKGROUND: #f6f6f6" class=FormWrap>
				<DIV class="boxBrown division">
					如果您对本商品有什么评价或经验,欢迎分享!
				</DIV>
			</DIV>
			<DIV class="boxBrown division">
				<A href="?passport-login.html"><IMG
						src="${ctx }/images/safeai/viewimg/btn-discuss.gif"> </A>
			</DIV>
		</DIV>
	</DIV>
</DIV>
<script type='text/javascript' src='${ctx }/js/safeai/Ajax.js'></script>
<script type="text/javascript">
<!--
//处理界面相关信息的切换
function goodsInfoShowChange(){
	var strObjId = this.id;
	jQuery(".goodsDetailTab").each(function(){
		var strInfoDivId = this.id.substring(0,this.id.indexOf('_'));
 		if(strObjId == this.id){
 			jQuery("#"+this.id).addClass('active');
 			jQuery("#"+strInfoDivId).show('slow');
 		}else{
 			jQuery("#"+this.id).removeClass('active');
 			jQuery("#"+strInfoDivId).hide('slow');
 		}
 	});
	
}
 jQuery(".goodsDetailTab").each(function(){
 	this.onclick = goodsInfoShowChange;
 });
 
 jQuery(".numadjust").each(function(){
 	this.onclick = adjustGoodsNumbs;
 });
 
 function adjustGoodsNumbs(){
 	var strObjID = this.id;
 	var iGoodsNumbs = document.getElementById('goodsNumInput').value;
	 	if(strObjID  == 'numIncreaseSpan'){
	 		document.getElementById('goodsNumInput').value = parseInt(iGoodsNumbs)+1;
	 	}else{
		 	if(iGoodsNumbs > 1){
		 		document.getElementById('goodsNumInput').value = parseInt(iGoodsNumbs)-1;
	 		}
	 	}
 	}
   //更改购物车中指定商品是否开发票属性
 function csAjax(){
		//select 选中值
		jQuery("#lodingTipDiv").show('slow');
        setTimeout(function(){
			var productid = document.getElementById('goods[id]').value;
			var productNumber = document.getElementById('goods[num]').value;
	        xhr = false;
	        var url="${ctx}/shopping/viewShoppingCart.do";
	        var _parameter="m=xmlajax&id="+productid+"&isNeedPaper=" + 0+"&number="+productNumber;
	        var ajax=new Ajax();
	        ajax.ajaxRequest(url,_parameter,'get',alertAjax);
        },10);
   }
//ajax返回函数
   function alertAjax(test){
   	 	var productid = document.getElementById('goods[id]').value;
		var productNumber = document.getElementById('goodsNumInput').value;
        xhr = false;
        var url="${ctx}/shopping/smallCart.do";
        var _parameter="method=getAllproducts&id="+productid+"&isNeedPaper=" + 0+"&number="+productNumber;
        var ajax=new Ajax();
        jQuery("#lodingTipDiv").show('slow');
        ajax.ajaxRequest(url,_parameter,'get',shoppingCartProducts);
   }
   
   function shoppingCartProducts(info){
   		alert(info);
   }
 //立刻购买
   function btnFastBuy(){
     var objForm = document.getElementById('goodsActionForm');
     var iNumber = document.getElementById('goodsNumInput').value;
	  iNumber = parseInt(iNumber);
	  if(iNumber){
	     objForm.number.value = iNumber;
	     objForm.submit();
	  }else{
     	MessageBox.error("商品购买数量只能是数字!");
	  }
   }
//-->
</script>
<div id='template-modal' style='display: none;'>
	<div class='dialog'>
		<div class='dialog-title'>
			<div class='title span-auto'>
				{title}
			</div>
			<div class='dialog-close-btn'>
				X
			</div>
			<div style="clear: both"></div>
		</div>
		<div class='dialog-content'>
			{content}
		</div>
	</div>
</div>


